const Controller = require("uni-cloud-router").Controller;
module.exports = class HomeController extends Controller {
	async getHomeMusicType() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.home.getHomeMusicType();
	};
	
	async getHomeMusicListWithType() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.home.getHomeMusicListWithType();
	};
	
	async getHomeBannerList() {
		const data = this.ctx.data // 从 Context 实例上获取请求参数
		console.log("客户端上传的参数:",data);
		return this.service.home.getHomeBannerList();
	};
};